<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Jobs' Details</title>
<link rel="stylesheet" type="text/css" href="css/view.css" media="all">
</head>

<body id="main_body" >
<!-- 
I need these data from here:
`usertable`.`idusertable`, `usertable`.`firstname`, `usertable`.`lastname`, 
`usertable`.`email`, `usertable`.`password`, `usertable`.`isstudent`, 
`usertable`.`isemployer`, `usertable`.`city`, `usertable`.`state`, `usertable`.`zipcode`
 -->	

<!-- 
<s:form action="add" method="post">
	<s:textfield name="contact.firstName" label="Firstname"/>
	<s:textfield name="contact.lastName" label="Lastname"/>
	<s:textfield name="contact.emailId" label="Email"/>
	<s:textfield name="contact.cellNo" label="Cell No."/>
	<s:textfield name="contact.website" label="Homepage"/>
	<s:textfield name="contact.birthDate" label="Birthdate"/>
	<s:submit value="Add Contact" align="center"/>
</s:form>
 -->

	<img id="top" src="images/top.png" alt="">
	<div id="form_container">
		<div class="header">
		 <div id="mymenu" style="padding-left:10px">
		 <ul>

		 <li>
		 	<a class="color2" href="StudentHomeAction">Home</a>
		 
		 </li>
		 		 
		 <li>
		 	<a class="color2" href="searchjob.jsp">Search</a>
		 
		 </li>
		 
		 <li>
		 	<a class="color2" href="AppliedJobsAction">Applications</a>
		 
		 </li>
	
		 <li>
		 	<a class="color2" href="LogoutAction">Logout</a>
		 </li>
		 
		 </ul>

 		
       </div> 
        </div>
        <div class="form_description">
			<h2>Job Details</h2>
	</div>	
 
 	<table><tr><td  width="140px" style="text-align:center"></td><td>	
	<s:form action="ApplyPageAction"  class="appnitro"  method="post">
					

			<table id="details">
				<tr>
					<td>Organization:</td>
					<td class="second"><s:property value="jobDetails.organisation"/></td>
				</tr>
				<tr>
					<td>Title:</td>
					<td class="second"><s:property value="jobDetails.title"/></td>
				</tr>
				<tr>
					<td>Salary:</td>
					<td class="second"><s:property value="jobDetails.salary"/></td>
				</tr>
				<tr>
					<td>Job City:</td>
					<td class="second"><s:property value="jobDetails.city"/></td>
				</tr>
				<tr>
					<td>Job State:</td>
					<td class="second"><s:property value="jobDetails.state"/></td>
				</tr>
				<tr>
					<td>Job Description:</td>
					<td class="second"><s:property value="jobDetails.description"/></td>
				</tr>
				<tr>
					<td>Job Contact:</td>
					<td class="second"><s:property value="jobDetails.contact"/></td>
				</tr>
				<tr>
					<td>Job Skill 1:</td>
					<td><s:property value="jobDetails.skill1"/></td>
				</tr>
				<tr>
					<td>Job Skill 2:</td>
					<td class="second"><s:property value="jobDetails.skill2"/></td>
				</tr>
				<tr>
					<td>Days of week:</td>
					<td class="second"><s:property value="daysofweek"/></td>
				</tr>
				<tr>
					<td>Start Time:</td>
					<td class="second"><s:property value="startTime"/></td>
				</tr>
				<tr>
					<td>End Time:</td>
					<td class="second"><s:property value="endTime"/></td>
				</tr>
				<tr>
					<td>Share Job:</td>
					<td><a href="https://facebook.com"><img class="share" src=images/facebook.png></a>&nbsp;
					<a href="https://linkedin.com"><img class="share" src=images/linkedin.png></a>&nbsp;
					<a href="https://twitter.com"><img class="share" src=images/twitter.png></a>&nbsp;
					<a href="https://plus.google.com"><img class="share" src=images/gplus.png></a></td>
				</tr>
			</table>		
			<s:hidden name="email" value="%{jobDetails.contact}"/>
			<s:hidden name="title" value="%{jobDetails.title}"/>
			<s:hidden name="jobid" value="%{id}"/>	
			
				<br/><s:submit value="Apply" cssStyle="margin-left:230px; margin-top:20px" class="button_text" name="submit" cssClass="classname" align="center"/>

		</s:form>	
			</td>
			</tr>
		</table>
		<div id="footer"><br/>
			©Team Bazinga

		</div>
	</div>
	<img id="bottom" src="register_files/bottom.png" alt="">
	</body>

</html>
